import request from '@/utils/request'

// 图审数据分页
export function getList(params) {
  return request({
    url: '/graphReviewData/selectPage',
    method: 'POST',
    params
  })
}

// 图审数据添加
export function addGraphReviewData(data, onUploadProgress) {
  return request({
    url: '/graphReviewData/insert',
    method: 'POST',
    onUploadProgress: onUploadProgress,
    data
  })
}

// 图审数据修改查询
export function selectGraphReviewData(params) {
  return request({
    url: '/graphReviewData/findId',
    method: 'POST',
    params
  })
}

// 图审数据删除
export function deleteGraphReviewData(data) {
  return request({
    url: '/graphReviewData/del',
    method: 'post',
    data
  })
}

// 图审数据修改
export function updateGraphReviewData(data, onUploadProgress) {
  return request({
    url: '/graphReviewData/update',
    method: 'post',
    onUploadProgress: onUploadProgress,
    data
  })
}
